package ferp.android.views.table.element.bid;

import android.content.Context;
import ferp.android.views.table.TableView;
import ferp.android.views.table.element.Element;
import ferp.android.widgets.callouts.Callout;
import ferp.core.game.Bid;

/**
 * User: olegs
 * Date: 08/01/2015 15:49
 */
public abstract class BidElement extends Element<Callout>
{
  public BidElement(Context context, TableView parent) {super(context, parent);}

  public final void show(Bid bid, boolean animate)
  {
    show(true);
    view.show(bid, animate);
  }

  @Override
  protected final void onHide() {view.hide();}
}
